package cn.zhejianglao.oss.service;

import org.springframework.core.io.Resource;
import org.springframework.web.multipart.MultipartFile;

public interface IFileStorageService {
    String storeFile(MultipartFile file);

    Resource loadFileAsResource(String fileName);

    void delete(String fileName);

    String replace(MultipartFile file, String oldFilename);
}
